package com.yang.webapi.module.utils.http;

import lombok.Data;
import lombok.experimental.Accessors;



/**
 * Created by baipan
 * Date: 2019/12/19
 * HTTPCLIENT 请求返回体
 */
@Accessors(chain = true)
@Data
public class HttpResult {

    // 响应码
    private Integer code;

    // 响应体
    private String body;

    public HttpResult() {
        super();
    }

    public HttpResult(Integer code, String body) {
        super();
        this.code = code;
        this.body = body;
    }



}